package com.breakfast.fun.dao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by yukai on 16/10/2.
 */
@Entity
public class GoodCart {
    @Id(autoincrement = true)
    private Long id;
    private int count;
    private String image;
    private String bigImage;
    private double price;
    private double totalPrice;
    private String name;
    private int goodId;

    @Generated(hash = 2015209928)
    public GoodCart(Long id, int count, String image, String bigImage,
                    double price, double totalPrice, String name, int goodId) {
        this.id = id;
        this.count = count;
        this.image = image;
        this.bigImage = bigImage;
        this.price = price;
        this.totalPrice = totalPrice;
        this.name = name;
        this.goodId = goodId;
    }

    @Generated(hash = 1404123058)
    public GoodCart() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getCount() {
        return this.count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getImage() {
        return this.image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getBigImage() {
        return this.bigImage;
    }

    public void setBigImage(String bigImage) {
        this.bigImage = bigImage;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getTotalPrice() {
        return this.totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getGoodId() {
        return this.goodId;
    }

    public void setGoodId(int goodId) {
        this.goodId = goodId;
    }

}
